#pragma once
#include "globject.h"

enum DOOR_STATE {OPEN, CLOSED, OPENING, CLOSING};

class AnimatedGate :
	public GLObject
{
public:
	AnimatedGate(const char * texture_filename);
	~AnimatedGate(void);
	static void toggleState(int &doorstate);
	virtual void draw(glm::mat4 global_transform);
private:
	float rotate_degrees;
	int texID;
};

